package com.hu.zhcc.shiro.service.lww.member;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import com.hu.zhcc.shiro.dao.lww.member.TMemberDynamicinfoMapper;
import com.hu.zhcc.shiro.entity.lww.member.TMemberDynamicinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 会员动态信息表 服务实现类
 * </p>
 *
 * @author luowuwen
 * @since 2021-06-15
 */
@Service
public class TMemberDynamicinfoServiceImpl extends ServiceImpl<TMemberDynamicinfoMapper, TMemberDynamicinfo> implements TMemberDynamicinfoService {

    @Autowired
    TMemberDynamicinfoMapper mapper;

    @Override
    public boolean insertTMemberDynamicinfo(TMemberDynamicinfo tMemberDynamicinfo) {
        return mapper.insertTMemberDynamicinfo(tMemberDynamicinfo);
    }

    @Override
    public boolean updateTMemberDynamicinfo(TMemberDynamicinfo tMemberDynamicinfo) {
        return mapper.updateTMemberDynamicinfo(tMemberDynamicinfo);
    }

    @Override
    public boolean updateTMemberDynamicinfoByid(TMemberDynamicinfo tMemberDynamicinfo) {
        return mapper.updateTMemberDynamicinfoByid(tMemberDynamicinfo);
    }

    @Override
    public TMemberDynamicinfo selectDynamicinfo(int id) {
        return mapper.queryDynamicinfo(id);
    }
}
